<!DOCTYPE html SYSTEM "http://www.thymeleaf.org/dtd/xhtml1-strict-thymeleaf-4.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <title>layui在线调试</title>
    <head th:include="include :: header"></head>
    <style>
        body{margin: 10px;}
        .demo-carousel{height: 200px; line-height: 200px; text-align: center;}
    </style>
</head>
<body>
<div class="container-fluid">
    <div class="wrapper wrapper-content ">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <form class="layui-form layui-form-pane1" action="" lay-filter="first">
                            <div class="layui-form-item">
                                <label class="layui-form-label">name：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="name" lay-verify="name" lay-reqText="标题不能为空" required placeholder="请输入标题" autocomplete="off" class="layui-input" >
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">continent：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="continent" lay-verify="continent" lay-verType="tips"
                                           autocomplete="off" class="layui-input" required placeholder="请输入continent"
                                    >
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">region：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="region" lay-verify="region" lay-verType="tips"
                                           autocomplete="off" class="layui-input" required placeholder="请输入region"
                                    >
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">region：</label>
                                <div class="layui-input-block">
                                    <input type="text" name="population" lay-verify="population" lay-verType="tips"
                                           autocomplete="off" class="layui-input" required placeholder="请输入population"
                                    >
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">面积:</label>
                                <div class="layui-input-block">
                                    <input name="surfacearea" lay-verify="surfacearea"  lay-verType="alert"
                                           autocomplete="off" class="layui-input" required placeholder="请输入面积"
                                    >
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <label class="layui-form-label">成立时间</label>
                                <div class="layui-input-block">
                                    <input type="text" name="indepYear" id="indepYear" lay-verify="date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                                </div>
                            </div>
                            <div class="layui-form-item">
                                <div class="layui-input-block">
                                    <button class="layui-btn" lay-submit="" lay-filter="addContry">立即提交</button>
                                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" th:src="@{/appjs/country/add.js}"></script>
</body>
</html>
